<%--
  Created by IntelliJ IDEA.
  User: 17214
  Date: 2022/8/27
  Time: 16:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="C" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <meta charset="UTF-8">
    <title>添加年卡</title>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/admin/car/fontsawesome/css/font-awesome.css"/>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/admin/car/css/style.css"/>
    <link type="text/css" rel="stylesheet" href="${pageContext.request.contextPath}/admin/car/css/datepicker.css"/>
</head>
<body>
<div class="main_box">
    <div class="cont_box editpro_box">
        <form action="${pageContext.request.contextPath}/hyxx/addNk" method="post" id="ycard_form">
            <ul class="addpro_box adduser_box">
                <li>
                    <label>手机号：</label>
                    <input type="text" value="" name="c_phone" />
                </li>
                <li>
                    <label>金额：</label>
                    <input type="text" value="2000" name="nian_money" />
                </li>
                <li>
                    <label>绑定车牌号：</label>
                    <select name="c_ipnumber">
                        <C:forEach items="${ipnumber}" var="cp">
                        <option value="${cp}">${cp}</option>
                        </C:forEach>
                        </select>
                </li>
                <li>
                    <label>销售人员：</label>
                    <select name="Z_name">
                        <C:forEach items="${findxs}" var="xs">
                        <option value="${xs}">${xs}</option>
                        </C:forEach>
                        </select>
                </li>
                <li>
                    <label>卡号：</label>
                    <input type="text" placeholder="请输入年卡卡号" name="c_ncard" required data-rule-procode="true" data-msg-required="年卡卡号不能为空"/>
                </li>
            </ul>
            <div class="probtn_box clearfix">
                <input type="submit" value="添加年卡" class="btn blue_btn"/>
            </div>
        </form>
    </div>
</div>
<!--javascript include-->
<script src="${pageContext.request.contextPath}/admin/car/js/jquery-2.2.1.min.js"></script>
<script src="${pageContext.request.contextPath}/admin/car/js/jquery.dataTables.min.js"></script>
<script src="${pageContext.request.contextPath}/admin/car/js/bootstrap-datepicker.js"></script>
<script src="${pageContext.request.contextPath}/admin/car/js/jquery.validate.min.js"></script>
<script src="${pageContext.request.contextPath}/admin/car/js/jquery.form.min.js"></script>
<script src="${pageContext.request.contextPath}/admin/car/js/jquery.cxselect.min.js"></script>
<script src="${pageContext.request.contextPath}/admin/car/js/other.js"></script>
<script>
    $(function(){
        $("body").other({formId:"#ycard_form",formUrl:"#"});//formUrl 表单请求地址,linkHref 请求成功后跳转地址，此页面不需要，已删除
        $("#carmodel").cxSelect({
            url: "js/carModel.json",
            selects: ["carbrand", "carmodela", "carmodelb", "carmodelc"],
            emptyStyle: "none"
        });
    });
</script>
</body>
</html>